View Modifiers create new Parent View and place modified View inside it as its Child (they do not modify existing View).
This way they also create a Hierarchy of Views (like Container Views) but every Parent has only one Child.
.frame Modifier's alignment parameter allows you to control position of its Child View (otherwise Child is centered).
And its width and height parameters allow you to control perceived size of its Child View.
.animation Defines how to animate the View when it is redrawn after its Properties change
.animation(Animation.linear(duration:5).delay(2)) //linear, easeOut, easeIn, easeInOut
.background Defines View Background as Color or Image
.background(Image("Table"))
.background(Color.blue)
.background(Color(red: 1, green: 0, blue: 0, opacity: 0.5))
.background(Color(hue: 0, saturation: 0.66, brightness: 0.66, opacity: 1))
.bold Changes text formatting to Bold
.bold()
.border Adds Border to a View
.border(Color.red, width: 2)
.clipped Removes content of Child View that is outside of the Parent's View
.clipped()
.cornerRadius Creates Background with rounded corners
.cornerRadius(18.0)
.edgesIgnoringSafeArea Allows View to take up space above the Safe Area
.edgesIgnoringSafeArea(.all) //all, horizontal, vertical, top, bottom, leading, trailing
.font Defines Font Family & size
.font(.largeTitle)
.font(system(size: 72))
.font(Font.custom("Arial Rounded MT Bold", size: 18).weight(.black))
.fontWeight Defines Font thickness
.fontWeight(.bold) //ultraLight, thin, light, regular, medium, semibold, bold, heavy, black
.foregroundColor Defines Font Color
.foregroundColor(Color.red)
.foregroundColor(Color(red: 1, green: 0, blue: 0, opacity: 0.5))
.foregroundColor(Color(hue: 0, saturation: 0.66, brightness: 0.66, opacity: 1))